package o2o.dao.PO.game;

//活动规则

public class GameRules {

    private Long id;//规则ID
    private Long pId;//活动ID

    private Double rang;//满足金额
    private Double award;//奖励金额,折扣比例   （折扣：比如设置的20，则减掉总金额的20%）
    private String times;   // 执行时间段

    private Double shopAward = 0d;//商家奖励金额
    private Double cityAdminAward = 0d;//代理奖励金
    private Double platformAward = 0d;//平台奖励金额

    private Long goodsId;//奖励商品ID

    private String name;//活动规则名称
    private String descs;//活动规则描述
    private String note;//活动备注


    private int delFlag;// 是否已删除(0未删除,1已删除)
    private String createUser;// 创建者
    private Long createTime;// 创建日期 141231212423423时间戳毫秒级标识
    private String updateUser;// 最后更新着
    private Long updateTime;// 最后更新时间


    public String getTimes() {
        return times;
    }

    public GameRules setTimes(String times) {
        this.times = times;
        return this;
    }

    public Double getCityAdminAward() {
        return cityAdminAward;
    }

    public GameRules setCityAdminAward(Double cityAdminAward) {
        this.cityAdminAward = cityAdminAward;
        return this;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public Double getRang() {
        return rang;
    }

    public void setRang(Double rang) {
        this.rang = rang;
    }

    public Double getAward() {
        return award;
    }

    public void setAward(Double award) {
        this.award = award;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescs() {
        return descs;
    }

    public void setDescs(String descs) {
        this.descs = descs;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Double getShopAward() {
        return shopAward;
    }

    public void setShopAward(Double shopAward) {
        this.shopAward = shopAward;
    }

    public Double getPlatformAward() {
        return platformAward;
    }

    public void setPlatformAward(Double platformAward) {
        this.platformAward = platformAward;
    }
}
